<template>
  <div>
    <van-tabbar route>
      <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/category" icon="more-o">分类</van-tabbar-item>
      <van-tabbar-item to="/shopcart" icon="cart-o">购物车</van-tabbar-item>
      <van-tabbar-item to="/my" icon="manager-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "NavBar",
  data() {
    return {
      route: 0,
    };
  },
};
</script>

<style>
</style>